package com.tanhua.dubbo.api;

import com.tanhua.domain.mongo.RecommendUser;
import com.tanhua.domain.vo.PageResult;

/**
 * @Classname RecommendUserApi
 * @Description TODO
 * @Date 2021/3/9 21:01
 * @Created by gan
 */

public interface RecommendUserApi {
    //调用api查询数据
    RecommendUser queryWithMaxScore(Long userId);


    //推荐列表，分页查询
    PageResult findPage(Integer page, Integer pagesize, Long userId);


    //查询缘分值
    Double queryForScore(Long userId, Long toUserId);
}
